package com.CmJava.Dubbo.provider.register.localRegister;

import java.util.HashMap;
import java.util.Map;

public class LocalRegister {
    private static Map<String,Class> map=new HashMap<>();
    public static void register(String interfaceName,Class interfaceImplClass){
        map.put(interfaceName,interfaceImplClass);
    }
    public static Class getInterface(String interfaceName){
        return map.get(interfaceName);
    }
}
